{
 "cells": [
  {
   "cell_type": "code",
   "execution_count": null,
   "id": "aeac0d1f-f9cc-476d-b505-f7520267849c",
   "metadata": {
    "ExecutionIndicator": {
     "show": true
    },
    "tags": []
   },
   "outputs": [],
   "source": [
    "\n",
    "%cd /mnt/workspace/\n",
    "\n",
    "!apt update\n",
    "!apt install -y aria2\n",
    "!pip install gradio==3.41.2\n",
    "!pip install insightface\n",
    "!pip install gdown\n",
    "!git clone https://github.com/AUTOMATIC1111/stable-diffusion-webui.git"
   ]
  },
  {
   "cell_type": "code",
   "execution_count": 5,
   "id": "4fda86a9-3d5f-491c-8aff-7e4e48a4e834",
   "metadata": {
    "execution": {
     "iopub.execute_input": "2024-04-16T08:03:38.485659Z",
     "iopub.status.busy": "2024-04-16T08:03:38.485336Z",
     "iopub.status.idle": "2024-04-16T08:04:49.576229Z",
     "shell.execute_reply": "2024-04-16T08:04:49.575655Z",
     "shell.execute_reply.started": "2024-04-16T08:03:38.485639Z"
    },
    "tags": []
   },
   "outputs": [
    {
     "name": "stdout",
     "output_type": "stream",
     "text": [
      " *** Download Progress Summary as of Tue Apr 16 16:04:41 2024 ***              1s\u001b[0m\u001b[35m]\u001b[0m\u001b[0mmm[0m\n",
      "===============================================================================\n",
      "[#373d1d 4.7GiB/4.8GiB(97%) CN:16 DL:46MiB ETA:2s]\n",
      "FILE: /mnt/workspace/stable-diffusion-webui/models/Stable-diffusion/v2-1_768-ema-pruned.ckpt\n",
      "-------------------------------------------------------------------------------\n",
      "\n",
      "\u001b[35m[\u001b[0m#373d1d 4.8GiB/4.8GiB\u001b[36m(99%)\u001b[0m CN:5 DL:\u001b[32m17MiB\u001b[0m\u001b[35m]\u001b[0m\u001b[0mm0m\u001b[35m]\u001b[0m\u001b[0m\n",
      "Download Results:\n",
      "gid   |stat|avg speed  |path/URI\n",
      "======+====+===========+=======================================================\n",
      "373d1d|\u001b[1;32mOK\u001b[0m  |    84MiB/s|/mnt/workspace/stable-diffusion-webui/models/Stable-diffusion/v2-1_768-ema-pruned.ckpt\n",
      "\n",
      "Status Legend:\n",
      "(OK):download completed.\n"
     ]
    }
   ],
   "source": [
    "!aria2c --console-log-level=error -c -x 16 -s 16 -k 1M \"https://modelscope.cn/api/v1/models/AI-ModelScope/stable-diffusion-2-1/repo?Revision=master&FilePath=v2-1_768-ema-pruned.ckpt\" -d /mnt/workspace/stable-diffusion-webui/models/Stable-diffusion -o v2-1_768-ema-pruned.ckpt"
   ]
  },
  {
   "cell_type": "code",
   "execution_count": 8,
   "id": "0a82476d-c5bb-4bb2-ab34-bf4a0d2d0cd0",
   "metadata": {
    "execution": {
     "iopub.execute_input": "2024-04-16T08:40:22.005955Z",
     "iopub.status.busy": "2024-04-16T08:40:22.005635Z",
     "iopub.status.idle": "2024-04-16T08:41:20.587610Z",
     "shell.execute_reply": "2024-04-16T08:41:20.587069Z",
     "shell.execute_reply.started": "2024-04-16T08:40:22.005936Z"
    },
    "tags": []
   },
   "outputs": [
    {
     "name": "stdout",
     "output_type": "stream",
     "text": [
      "\u001b[35m[\u001b[0m#b1fde1 4.8GiB/4.8GiB\u001b[36m(99%)\u001b[0m CN:3 DL:\u001b[32m96MiB\u001b[0m\u001b[35m]\u001b[0m\u001b[0m0m0m\u001b[35m]\u001b[0m\u001b[0mm\n",
      "Download Results:\n",
      "gid   |stat|avg speed  |path/URI\n",
      "======+====+===========+=======================================================\n",
      "b1fde1|\u001b[1;32mOK\u001b[0m  |   124MiB/s|/mnt/workspace/stable-diffusion-webui/models/Stable-diffusion/512-base-ema.ckpt\n",
      "\n",
      "Status Legend:\n",
      "(OK):download completed.\n"
     ]
    }
   ],
   "source": [
    "!aria2c --console-log-level=error -c -x 16 -s 16 -k 1M \"https://modelscope.cn/api/v1/models/AI-ModelScope/stable-diffusion-2-base/repo?Revision=master&FilePath=512-base-ema.ckpt\" -d /mnt/workspace/stable-diffusion-webui/models/Stable-diffusion -o 512-base-ema.ckpt"
   ]
  },
  {
   "cell_type": "code",
   "execution_count": 12,
   "id": "90b9d6c5-22f6-41b7-a083-0054eaea1a6b",
   "metadata": {
    "ExecutionIndicator": {
     "show": false
    },
    "execution": {
     "iopub.execute_input": "2024-04-16T09:03:57.063104Z",
     "iopub.status.busy": "2024-04-16T09:03:57.062781Z",
     "iopub.status.idle": "2024-04-16T09:04:31.585049Z",
     "shell.execute_reply": "2024-04-16T09:04:31.584507Z",
     "shell.execute_reply.started": "2024-04-16T09:03:57.063085Z"
    },
    "tags": []
   },
   "outputs": [
    {
     "name": "stdout",
     "output_type": "stream",
     "text": [
      "\n",
      "Download Results:\n",
      "gid   |stat|avg speed  |path/URI\n",
      "======+====+===========+=======================================================\n",
      "31e2f8|\u001b[1;32mOK\u001b[0m  |       0B/s|/mnt/workspace/stable-diffusion-webui/models/Stable-diffusion/Anything-V3.0-pruned.ckpt\n",
      "\n",
      "Status Legend:\n",
      "(OK):download completed.\n",
      "\n",
      "Download Results:\n",
      "gid   |stat|avg speed  |path/URI\n",
      "======+====+===========+=======================================================\n",
      "29bf00|\u001b[1;32mOK\u001b[0m  |       0B/s|/mnt/workspace/stable-diffusion-webui/models/Stable-diffusion/Anything-V3.0-pruned.vae.pt\n",
      "\n",
      "Status Legend:\n",
      "(OK):download completed.\n",
      "正克隆到 '/mnt/workspace/stable-diffusion-webui/openai'...\n",
      "remote: Enumerating objects: 22, done.\u001b[K\n",
      "remote: Counting objects: 100% (22/22), done.\u001b[K\n",
      "remote: Compressing objects: 100% (21/21), done.\u001b[K\n",
      "remote: Total 22 (delta 1), reused 0 (delta 0), pack-reused 0\u001b[K\n",
      "接收对象中: 100% (22/22), 1.08 MiB | 19.70 MiB/s, 完成.\n",
      "处理 delta 中: 100% (1/1), 完成.\n",
      "过滤内容: 100% (4/4), 6.37 GiB | 211.22 MiB/s, 完成.\n"
     ]
    }
   ],
   "source": [
    "!aria2c --console-log-level=error -c -x 16 -s 16 -k 1M \"https://modelscope.cn/api/v1/models/AI-ModelScope/anything-v3.0/repo?Revision=master&FilePath=Anything-V3.0-pruned.ckpt\" -d /mnt/workspace/stable-diffusion-webui/models/Stable-diffusion -o Anything-V3.0-pruned.ckpt\n",
    "!aria2c --console-log-level=error -c -x 16 -s 16 -k 1M \"https://modelscope.cn/api/v1/models/AI-ModelScope/sd-vae-ft-mse-original/repo?Revision=master&FilePath=vae-ft-mse-840000-ema-pruned.ckpt\" -d /mnt/workspace/stable-diffusion-webui/models/Stable-diffusion -o Anything-V3.0-pruned.vae.pt\n",
    "!git clone https://www.modelscope.cn/AI-ModelScope/clip-vit-large-patch14.git /mnt/workspace/stable-diffusion-webui/openai/clip-vit-large-patch14"
   ]
  },
  {
   "cell_type": "code",
   "execution_count": null,
   "id": "3ff34eaa-baaa-4744-86b4-f85d3ce0f39c",
   "metadata": {},
   "outputs": [],
   "source": [
    "!aria2c --console-log-level=error -c -x 16 -k 1M -s 16 \"https://modelscope.cn/api/v1/models/sd_lora/ControlNet/repo?Revision=master&FilePath=canny-sd21-safe.safetensors\" -d /mnt/workspace/stable-diffusion-webui/extensions/sd-webui-controlnet/models -o canny-sd21-safe.safetensors\n",
    "!aria2c --console-log-level=error -c -x 16 -k 1M -s 16 \"https://modelscope.cn/api/v1/models/sd_lora/ControlNet/repo?Revision=master&FilePath=depth-sd21-safe.safetensors\" -d /mnt/workspace/stable-diffusion-webui/extensions/sd-webui-controlnet/models -o depth-sd21-safe.safetensors\n",
    "!aria2c --console-log-level=error -c -x 16 -k 1M -s 16 \"https://modelscope.cn/api/v1/models/sd_lora/ControlNet/repo?Revision=master&FilePath=hed-sd21-safe.safetensors\" -d /mnt/workspace/stable-diffusion-webui/extensions/sd-webui-controlnet/models -o hed-sd21-safe.safetensors\n",
    "!aria2c --console-log-level=error -c -x 16 -k 1M -s 16 \"https://modelscope.cn/api/v1/models/sd_lora/ControlNet/repo?Revision=master&FilePath=openpose-sd21-safe.safetensors\" -d /mnt/workspace/stable-diffusion-webui/extensions/sd-webui-controlnet/models -o openpose-sd21-safe.safetensors\n",
    "!aria2c --console-log-level=error -c -x 16 -k 1M -s 16 \"https://modelscope.cn/api/v1/models/sd_lora/ControlNet/repo?Revision=master&FilePath=scribble-sd21-safe.safetensors\" -d /mnt/workspace/stable-diffusion-webui/extensions/sd-webui-controlnet/models -o scribble-sd21-safe.safetensors"
   ]
  },
  {
   "cell_type": "code",
   "execution_count": 15,
   "id": "448d62ce-87d8-46cc-97df-5af50ef78282",
   "metadata": {
    "ExecutionIndicator": {
     "show": true
    },
    "execution": {
     "iopub.execute_input": "2024-04-16T09:12:42.591189Z",
     "iopub.status.busy": "2024-04-16T09:12:42.590891Z",
     "iopub.status.idle": "2024-04-16T10:48:03.468020Z",
     "shell.execute_reply": "2024-04-16T10:48:03.467444Z",
     "shell.execute_reply.started": "2024-04-16T09:12:42.591170Z"
    },
    "tags": []
   },
   "outputs": [
    {
     "name": "stdout",
     "output_type": "stream",
     "text": [
      "[Errno 2] No such file or directory: 'stable-diffusion-webui'\n",
      "/mnt/workspace/stable-diffusion-webui\n",
      "Python 3.10.13 (main, Sep 11 2023, 13:44:35) [GCC 11.2.0]\n",
      "Version: v1.9.0\n",
      "Commit hash: adadb4e3c7382bf3e4f7519126cd6c70f4f8557b\n",
      "Launching Web UI with arguments: --listen --xformers --enable-insecure-extension-access --theme dark --gradio-queue --lowvram\n",
      "[2024-04-16 17:12:46,870] [INFO] [real_accelerator.py:161:get_accelerator] Setting ds_accelerator to cuda (auto detect)\n",
      "2024-04-16 17:12:47.217793: I tensorflow/core/util/port.cc:111] oneDNN custom operations are on. You may see slightly different numerical results due to floating-point round-off errors from different computation orders. To turn them off, set the environment variable `TF_ENABLE_ONEDNN_OPTS=0`.\n",
      "2024-04-16 17:12:47.220276: I tensorflow/tsl/cuda/cudart_stub.cc:28] Could not find cuda drivers on your machine, GPU will not be used.\n",
      "2024-04-16 17:12:47.254449: E tensorflow/compiler/xla/stream_executor/cuda/cuda_dnn.cc:9342] Unable to register cuDNN factory: Attempting to register factory for plugin cuDNN when one has already been registered\n",
      "2024-04-16 17:12:47.254473: E tensorflow/compiler/xla/stream_executor/cuda/cuda_fft.cc:609] Unable to register cuFFT factory: Attempting to register factory for plugin cuFFT when one has already been registered\n",
      "2024-04-16 17:12:47.254497: E tensorflow/compiler/xla/stream_executor/cuda/cuda_blas.cc:1518] Unable to register cuBLAS factory: Attempting to register factory for plugin cuBLAS when one has already been registered\n",
      "2024-04-16 17:12:47.260712: I tensorflow/tsl/cuda/cudart_stub.cc:28] Could not find cuda drivers on your machine, GPU will not be used.\n",
      "2024-04-16 17:12:47.260922: I tensorflow/core/platform/cpu_feature_guard.cc:182] This TensorFlow binary is optimized to use available CPU instructions in performance-critical operations.\n",
      "To enable the following instructions: AVX2 AVX512F AVX512_VNNI FMA, in other operations, rebuild TensorFlow with the appropriate compiler flags.\n",
      "2024-04-16 17:12:47.983648: W tensorflow/compiler/tf2tensorrt/utils/py_utils.cc:38] TF-TRT Warning: Could not find TensorRT\n",
      "Loading weights [d635794c1f] from /mnt/workspace/stable-diffusion-webui/models/Stable-diffusion/512-base-ema.ckpt\n",
      "Running on local URL:  http://0.0.0.0:7860\n",
      "\n",
      "To create a public link, set `share=True` in `launch()`.\n",
      "Startup time: 11.3s (prepare environment: 1.4s, import torch: 4.8s, import gradio: 1.0s, setup paths: 0.4s, initialize shared: 0.1s, other imports: 0.3s, setup gfpgan: 0.2s, load scripts: 0.6s, create ui: 0.3s, gradio launch: 2.1s).\n",
      "Creating model from config: /mnt/workspace/stable-diffusion-webui/repositories/stable-diffusion-stability-ai/configs/stable-diffusion/v2-inference.yaml\n",
      "Applying attention optimization: xformers... done.\n",
      "Model loaded in 6.3s (load weights from disk: 2.8s, find config: 1.0s, create model: 0.3s, apply weights to model: 1.3s, apply half(): 0.4s, load textual inversion embeddings: 0.4s).\n",
      "Reusing loaded model 512-base-ema.ckpt [d635794c1f] to load Anything-V3.0-pruned.ckpt [543bcbc212]\n",
      "Loading weights [543bcbc212] from /mnt/workspace/stable-diffusion-webui/models/Stable-diffusion/Anything-V3.0-pruned.ckpt\n",
      "Creating model from config: /mnt/workspace/stable-diffusion-webui/configs/v1-inference.yaml\n",
      "Loading VAE weights found near the checkpoint: /mnt/workspace/stable-diffusion-webui/models/Stable-diffusion/Anything-V3.0-pruned.vae.pt\n",
      "Applying attention optimization: xformers... done.\n",
      "Model loaded in 1.6s (create model: 0.3s, apply weights to model: 0.3s, load VAE: 0.9s, calculate empty prompt: 0.1s).\n",
      "Calculating sha256 for /mnt/workspace/stable-diffusion-webui/models/Stable-diffusion/Anything-V3.0-pruned.vae.pt: c6a580b13a5bc05a5e16e4dbb80608ff2ec251a162311590c1f34c013d7f3dab\n",
      "  0%|                                                    | 0/20 [00:00<?, ?it/s]\n",
      "  5%|██▏                                         | 1/20 [00:01<00:19,  1.04s/it]\u001b[A\n",
      " 10%|████▍                                       | 2/20 [00:01<00:12,  1.49it/s]\u001b[A\n",
      " 15%|██████▌                                     | 3/20 [00:01<00:09,  1.79it/s]\u001b[A\n",
      " 20%|████████▊                                   | 4/20 [00:02<00:07,  2.00it/s]\u001b[A\n",
      " 25%|███████████                                 | 5/20 [00:02<00:07,  2.13it/s]\u001b[A\n",
      " 30%|█████████████▏                              | 6/20 [00:03<00:06,  2.22it/s]\u001b[A\n",
      " 35%|███████████████▍                            | 7/20 [00:03<00:05,  2.30it/s]\u001b[A\n",
      " 40%|█████████████████▌                          | 8/20 [00:03<00:05,  2.35it/s]\u001b[A\n",
      " 45%|███████████████████▊                        | 9/20 [00:04<00:04,  2.38it/s]\u001b[A\n",
      " 50%|█████████████████████▌                     | 10/20 [00:04<00:04,  2.40it/s]\u001b[A\n",
      " 55%|███████████████████████▋                   | 11/20 [00:05<00:03,  2.42it/s]\u001b[A\n",
      " 60%|█████████████████████████▊                 | 12/20 [00:05<00:03,  2.43it/s]\u001b[A\n",
      " 65%|███████████████████████████▉               | 13/20 [00:05<00:02,  2.43it/s]\u001b[A\n",
      " 70%|██████████████████████████████             | 14/20 [00:06<00:02,  2.44it/s]\u001b[A\n",
      " 75%|████████████████████████████████▎          | 15/20 [00:06<00:02,  2.44it/s]\u001b[A\n",
      " 80%|██████████████████████████████████▍        | 16/20 [00:07<00:01,  2.44it/s]\u001b[A\n",
      " 85%|████████████████████████████████████▌      | 17/20 [00:07<00:01,  2.41it/s]\u001b[A\n",
      " 90%|██████████████████████████████████████▋    | 18/20 [00:08<00:00,  2.41it/s]\u001b[A\n",
      " 95%|████████████████████████████████████████▊  | 19/20 [00:08<00:00,  2.39it/s]\u001b[A\n",
      "100%|███████████████████████████████████████████| 20/20 [00:08<00:00,  2.25it/s]\u001b[A\n",
      "\n",
      "Total progress: 100%|███████████████████████████| 20/20 [00:08<00:00,  2.47it/s]\u001b[A\n",
      "Reusing loaded model Anything-V3.0-pruned.ckpt [543bcbc212] to load 512-base-ema.ckpt [d635794c1f]\n",
      "Loading weights [d635794c1f] from /mnt/workspace/stable-diffusion-webui/models/Stable-diffusion/512-base-ema.ckpt\n",
      "Creating model from config: /mnt/workspace/stable-diffusion-webui/repositories/stable-diffusion-stability-ai/configs/stable-diffusion/v2-inference.yaml\n",
      "Applying attention optimization: xformers... done.\n",
      "Model loaded in 1.7s (find config: 0.5s, apply weights to model: 0.7s, apply half(): 0.2s).\n",
      "  0%|                                                    | 0/50 [00:00<?, ?it/s]\n",
      "  2%|▉                                           | 1/50 [00:00<00:26,  1.83it/s]\u001b[A\n",
      "  4%|█▊                                          | 2/50 [00:00<00:22,  2.13it/s]\u001b[A\n",
      "  6%|██▋                                         | 3/50 [00:01<00:20,  2.25it/s]\u001b[A\n",
      "  8%|███▌                                        | 4/50 [00:01<00:19,  2.32it/s]\u001b[A\n",
      " 10%|████▍                                       | 5/50 [00:02<00:19,  2.34it/s]\u001b[A\n",
      " 12%|█████▎                                      | 6/50 [00:02<00:18,  2.36it/s]\u001b[A\n",
      " 14%|██████▏                                     | 7/50 [00:03<00:18,  2.37it/s]\u001b[A\n",
      " 16%|███████                                     | 8/50 [00:03<00:17,  2.39it/s]\u001b[A\n",
      " 18%|███████▉                                    | 9/50 [00:03<00:17,  2.41it/s]\u001b[A\n",
      " 20%|████████▌                                  | 10/50 [00:04<00:16,  2.40it/s]\u001b[A\n",
      " 22%|█████████▍                                 | 11/50 [00:04<00:16,  2.41it/s]\u001b[A\n",
      " 24%|██████████▎                                | 12/50 [00:05<00:15,  2.40it/s]\u001b[A\n",
      " 26%|███████████▏                               | 13/50 [00:05<00:15,  2.40it/s]\u001b[A\n",
      " 28%|████████████                               | 14/50 [00:05<00:14,  2.41it/s]\u001b[A\n",
      " 30%|████████████▉                              | 15/50 [00:06<00:14,  2.41it/s]\u001b[A\n",
      " 32%|█████████████▊                             | 16/50 [00:06<00:14,  2.42it/s]\u001b[A\n",
      " 34%|██████████████▌                            | 17/50 [00:07<00:13,  2.41it/s]\u001b[A\n",
      " 36%|███████████████▍                           | 18/50 [00:07<00:13,  2.40it/s]\u001b[A\n",
      " 38%|████████████████▎                          | 19/50 [00:08<00:12,  2.41it/s]\u001b[A\n",
      " 40%|█████████████████▏                         | 20/50 [00:08<00:12,  2.42it/s]\u001b[A\n",
      " 42%|██████████████████                         | 21/50 [00:08<00:12,  2.41it/s]\u001b[A\n",
      " 44%|██████████████████▉                        | 22/50 [00:09<00:11,  2.40it/s]\u001b[A\n",
      " 46%|███████████████████▊                       | 23/50 [00:09<00:11,  2.40it/s]\u001b[A\n",
      " 48%|████████████████████▋                      | 24/50 [00:10<00:10,  2.40it/s]\u001b[A\n",
      " 50%|█████████████████████▌                     | 25/50 [00:10<00:10,  2.41it/s]\u001b[A\n",
      " 52%|██████████████████████▎                    | 26/50 [00:10<00:09,  2.41it/s]\u001b[A\n",
      " 54%|███████████████████████▏                   | 27/50 [00:11<00:09,  2.42it/s]\u001b[A\n",
      " 56%|████████████████████████                   | 28/50 [00:11<00:09,  2.42it/s]\u001b[A\n",
      " 58%|████████████████████████▉                  | 29/50 [00:12<00:08,  2.42it/s]\u001b[A\n",
      " 60%|█████████████████████████▊                 | 30/50 [00:12<00:08,  2.42it/s]\u001b[A\n",
      " 62%|██████████████████████████▋                | 31/50 [00:12<00:07,  2.41it/s]\u001b[A\n",
      " 64%|███████████████████████████▌               | 32/50 [00:13<00:07,  2.41it/s]\u001b[A\n",
      " 66%|████████████████████████████▍              | 33/50 [00:13<00:07,  2.40it/s]\u001b[A\n",
      " 68%|█████████████████████████████▏             | 34/50 [00:14<00:06,  2.38it/s]\u001b[A\n",
      " 70%|██████████████████████████████             | 35/50 [00:14<00:06,  2.37it/s]\u001b[A\n",
      " 72%|██████████████████████████████▉            | 36/50 [00:15<00:05,  2.36it/s]\u001b[A\n",
      " 74%|███████████████████████████████▊           | 37/50 [00:15<00:05,  2.36it/s]\u001b[A\n",
      " 76%|████████████████████████████████▋          | 38/50 [00:15<00:05,  2.32it/s]\u001b[A\n",
      " 78%|█████████████████████████████████▌         | 39/50 [00:16<00:04,  2.33it/s]\u001b[A\n",
      " 80%|██████████████████████████████████▍        | 40/50 [00:16<00:04,  2.32it/s]\u001b[A\n",
      " 82%|███████████████████████████████████▎       | 41/50 [00:17<00:03,  2.33it/s]\u001b[A\n",
      " 84%|████████████████████████████████████       | 42/50 [00:17<00:03,  2.34it/s]\u001b[A\n",
      " 86%|████████████████████████████████████▉      | 43/50 [00:18<00:02,  2.36it/s]\u001b[A\n",
      " 88%|█████████████████████████████████████▊     | 44/50 [00:18<00:02,  2.38it/s]\u001b[A\n",
      " 90%|██████████████████████████████████████▋    | 45/50 [00:18<00:02,  2.36it/s]\u001b[A\n",
      " 92%|███████████████████████████████████████▌   | 46/50 [00:19<00:01,  2.35it/s]\u001b[A\n",
      " 94%|████████████████████████████████████████▍  | 47/50 [00:19<00:01,  2.36it/s]\u001b[A\n",
      " 96%|█████████████████████████████████████████▎ | 48/50 [00:20<00:00,  2.36it/s]\u001b[A\n",
      " 98%|██████████████████████████████████████████▏| 49/50 [00:20<00:00,  2.37it/s]\u001b[A\n",
      "100%|███████████████████████████████████████████| 50/50 [00:21<00:00,  2.37it/s]\u001b[A\n",
      "\n",
      "Total progress: 100%|███████████████████████████| 50/50 [00:20<00:00,  2.41it/s]\u001b[A\n",
      "  0%|                                                    | 0/50 [00:00<?, ?it/s]\n",
      "  2%|▉                                           | 1/50 [00:00<00:20,  2.40it/s]\u001b[A\n",
      "  4%|█▊                                          | 2/50 [00:00<00:20,  2.40it/s]\u001b[A\n",
      "  6%|██▋                                         | 3/50 [00:01<00:20,  2.34it/s]\u001b[A\n",
      "  8%|███▌                                        | 4/50 [00:01<00:19,  2.36it/s]\u001b[A\n",
      " 10%|████▍                                       | 5/50 [00:02<00:18,  2.39it/s]\u001b[A\n",
      " 12%|█████▎                                      | 6/50 [00:02<00:18,  2.41it/s]\u001b[A\n",
      " 14%|██████▏                                     | 7/50 [00:02<00:17,  2.42it/s]\u001b[A\n",
      " 16%|███████                                     | 8/50 [00:03<00:17,  2.39it/s]\u001b[A\n",
      " 18%|███████▉                                    | 9/50 [00:03<00:17,  2.40it/s]\u001b[A\n",
      " 20%|████████▌                                  | 10/50 [00:04<00:16,  2.42it/s]\u001b[A\n",
      " 22%|█████████▍                                 | 11/50 [00:04<00:16,  2.42it/s]\u001b[A\n",
      " 24%|██████████▎                                | 12/50 [00:04<00:15,  2.42it/s]\u001b[A\n",
      " 26%|███████████▏                               | 13/50 [00:05<00:15,  2.42it/s]\u001b[A\n",
      " 28%|████████████                               | 14/50 [00:05<00:14,  2.42it/s]\u001b[A\n",
      " 30%|████████████▉                              | 15/50 [00:06<00:14,  2.42it/s]\u001b[A\n",
      " 32%|█████████████▊                             | 16/50 [00:06<00:14,  2.42it/s]\u001b[A\n",
      " 34%|██████████████▌                            | 17/50 [00:07<00:13,  2.42it/s]\u001b[A\n",
      " 36%|███████████████▍                           | 18/50 [00:07<00:13,  2.41it/s]\u001b[A\n",
      " 38%|████████████████▎                          | 19/50 [00:07<00:12,  2.41it/s]\u001b[A\n",
      " 40%|█████████████████▏                         | 20/50 [00:08<00:12,  2.38it/s]\u001b[A\n",
      " 42%|██████████████████                         | 21/50 [00:08<00:12,  2.38it/s]\u001b[A\n",
      " 44%|██████████████████▉                        | 22/50 [00:09<00:11,  2.40it/s]\u001b[A\n",
      " 46%|███████████████████▊                       | 23/50 [00:09<00:11,  2.39it/s]\u001b[A\n",
      " 48%|████████████████████▋                      | 24/50 [00:09<00:10,  2.39it/s]\u001b[A\n",
      " 50%|█████████████████████▌                     | 25/50 [00:10<00:10,  2.38it/s]\u001b[A\n",
      " 52%|██████████████████████▎                    | 26/50 [00:10<00:10,  2.37it/s]\u001b[A\n",
      " 54%|███████████████████████▏                   | 27/50 [00:11<00:09,  2.36it/s]\u001b[A\n",
      " 56%|████████████████████████                   | 28/50 [00:11<00:09,  2.35it/s]\u001b[A\n",
      " 58%|████████████████████████▉                  | 29/50 [00:12<00:08,  2.36it/s]\u001b[A\n",
      " 60%|█████████████████████████▊                 | 30/50 [00:12<00:08,  2.37it/s]\u001b[A\n",
      " 62%|██████████████████████████▋                | 31/50 [00:12<00:07,  2.38it/s]\u001b[A\n",
      " 64%|███████████████████████████▌               | 32/50 [00:13<00:07,  2.38it/s]\u001b[A\n",
      " 66%|████████████████████████████▍              | 33/50 [00:13<00:07,  2.39it/s]\u001b[A\n",
      " 68%|█████████████████████████████▏             | 34/50 [00:14<00:06,  2.38it/s]\u001b[A\n",
      " 70%|██████████████████████████████             | 35/50 [00:14<00:06,  2.40it/s]\u001b[A\n",
      " 72%|██████████████████████████████▉            | 36/50 [00:15<00:05,  2.41it/s]\u001b[A\n",
      " 74%|███████████████████████████████▊           | 37/50 [00:15<00:05,  2.41it/s]\u001b[A\n",
      " 76%|████████████████████████████████▋          | 38/50 [00:15<00:04,  2.40it/s]\u001b[A\n",
      " 78%|█████████████████████████████████▌         | 39/50 [00:16<00:04,  2.40it/s]\u001b[A\n",
      " 80%|██████████████████████████████████▍        | 40/50 [00:16<00:04,  2.39it/s]\u001b[A\n",
      " 82%|███████████████████████████████████▎       | 41/50 [00:17<00:03,  2.39it/s]\u001b[A\n",
      " 84%|████████████████████████████████████       | 42/50 [00:17<00:03,  2.38it/s]\u001b[A\n",
      " 86%|████████████████████████████████████▉      | 43/50 [00:17<00:02,  2.39it/s]\u001b[A\n",
      " 88%|█████████████████████████████████████▊     | 44/50 [00:18<00:02,  2.39it/s]\u001b[A\n",
      " 90%|██████████████████████████████████████▋    | 45/50 [00:18<00:02,  2.39it/s]\u001b[A\n",
      " 92%|███████████████████████████████████████▌   | 46/50 [00:19<00:01,  2.37it/s]\u001b[A\n",
      " 94%|████████████████████████████████████████▍  | 47/50 [00:19<00:01,  2.38it/s]\u001b[A\n",
      " 96%|█████████████████████████████████████████▎ | 48/50 [00:20<00:00,  2.38it/s]\u001b[A\n",
      " 98%|██████████████████████████████████████████▏| 49/50 [00:20<00:00,  2.37it/s]\u001b[A\n",
      "100%|███████████████████████████████████████████| 50/50 [00:20<00:00,  2.39it/s]\u001b[A\n",
      "\n",
      "Total progress: 100%|███████████████████████████| 50/50 [00:20<00:00,  2.41it/s]\u001b[A\n",
      "Reusing loaded model 512-base-ema.ckpt [d635794c1f] to load v2-1_768-ema-pruned.ckpt [ad2a33c361]\n",
      "Loading weights [ad2a33c361] from /mnt/workspace/stable-diffusion-webui/models/Stable-diffusion/v2-1_768-ema-pruned.ckpt\n",
      "Creating model from config: /mnt/workspace/stable-diffusion-webui/repositories/stable-diffusion-stability-ai/configs/stable-diffusion/v2-inference-v.yaml\n",
      "Applying attention optimization: xformers... done.\n",
      "Model loaded in 1.8s (find config: 0.6s, apply weights to model: 0.7s, apply half(): 0.3s).\n",
      "  0%|                                                    | 0/50 [00:00<?, ?it/s]\n",
      "  2%|▉                                           | 1/50 [00:00<00:26,  1.82it/s]\u001b[A\n",
      "  4%|█▊                                          | 2/50 [00:00<00:22,  2.14it/s]\u001b[A\n",
      "  6%|██▋                                         | 3/50 [00:01<00:20,  2.24it/s]\u001b[A\n",
      "  8%|███▌                                        | 4/50 [00:01<00:19,  2.31it/s]\u001b[A\n",
      " 10%|████▍                                       | 5/50 [00:02<00:19,  2.35it/s]\u001b[A\n",
      " 12%|█████▎                                      | 6/50 [00:02<00:18,  2.37it/s]\u001b[A\n",
      " 14%|██████▏                                     | 7/50 [00:03<00:18,  2.38it/s]\u001b[A\n",
      " 16%|███████                                     | 8/50 [00:03<00:17,  2.38it/s]\u001b[A\n",
      " 18%|███████▉                                    | 9/50 [00:03<00:17,  2.38it/s]\u001b[A\n",
      " 20%|████████▌                                  | 10/50 [00:04<00:17,  2.35it/s]\u001b[A\n",
      " 22%|█████████▍                                 | 11/50 [00:04<00:16,  2.36it/s]\u001b[A\n",
      " 24%|██████████▎                                | 12/50 [00:05<00:16,  2.37it/s]\u001b[A\n",
      " 26%|███████████▏                               | 13/50 [00:05<00:15,  2.38it/s]\u001b[A\n",
      " 28%|████████████                               | 14/50 [00:05<00:15,  2.39it/s]\u001b[A\n",
      " 30%|████████████▉                              | 15/50 [00:06<00:14,  2.38it/s]\u001b[A\n",
      " 32%|█████████████▊                             | 16/50 [00:06<00:14,  2.39it/s]\u001b[A\n",
      " 34%|██████████████▌                            | 17/50 [00:07<00:13,  2.39it/s]\u001b[A\n",
      " 36%|███████████████▍                           | 18/50 [00:07<00:13,  2.38it/s]\u001b[A\n",
      " 38%|████████████████▎                          | 19/50 [00:08<00:13,  2.38it/s]\u001b[A\n",
      " 40%|█████████████████▏                         | 20/50 [00:08<00:12,  2.38it/s]\u001b[A\n",
      " 42%|██████████████████                         | 21/50 [00:08<00:12,  2.39it/s]\u001b[A\n",
      " 44%|██████████████████▉                        | 22/50 [00:09<00:11,  2.39it/s]\u001b[A\n",
      " 46%|███████████████████▊                       | 23/50 [00:09<00:11,  2.40it/s]\u001b[A\n",
      " 48%|████████████████████▋                      | 24/50 [00:10<00:10,  2.39it/s]\u001b[A\n",
      " 50%|█████████████████████▌                     | 25/50 [00:10<00:10,  2.38it/s]\u001b[A\n",
      " 52%|██████████████████████▎                    | 26/50 [00:11<00:10,  2.37it/s]\u001b[A\n",
      " 54%|███████████████████████▏                   | 27/50 [00:11<00:09,  2.37it/s]\u001b[A\n",
      " 56%|████████████████████████                   | 28/50 [00:11<00:09,  2.37it/s]\u001b[A\n",
      " 58%|████████████████████████▉                  | 29/50 [00:12<00:08,  2.38it/s]\u001b[A\n",
      " 60%|█████████████████████████▊                 | 30/50 [00:12<00:08,  2.38it/s]\u001b[A\n",
      " 62%|██████████████████████████▋                | 31/50 [00:13<00:07,  2.38it/s]\u001b[A\n",
      " 64%|███████████████████████████▌               | 32/50 [00:13<00:07,  2.38it/s]\u001b[A\n",
      " 66%|████████████████████████████▍              | 33/50 [00:13<00:07,  2.39it/s]\u001b[A\n",
      " 68%|█████████████████████████████▏             | 34/50 [00:14<00:06,  2.39it/s]\u001b[A\n",
      " 70%|██████████████████████████████             | 35/50 [00:14<00:06,  2.38it/s]\u001b[A\n",
      " 72%|██████████████████████████████▉            | 36/50 [00:15<00:05,  2.37it/s]\u001b[A\n",
      " 74%|███████████████████████████████▊           | 37/50 [00:15<00:05,  2.38it/s]\u001b[A\n",
      " 76%|████████████████████████████████▋          | 38/50 [00:16<00:05,  2.39it/s]\u001b[A\n",
      " 78%|█████████████████████████████████▌         | 39/50 [00:16<00:04,  2.39it/s]\u001b[A\n",
      " 80%|██████████████████████████████████▍        | 40/50 [00:16<00:04,  2.40it/s]\u001b[A\n",
      " 82%|███████████████████████████████████▎       | 41/50 [00:17<00:03,  2.40it/s]\u001b[A\n",
      " 84%|████████████████████████████████████       | 42/50 [00:17<00:03,  2.37it/s]\u001b[A\n",
      " 86%|████████████████████████████████████▉      | 43/50 [00:18<00:02,  2.38it/s]\u001b[A\n",
      " 88%|█████████████████████████████████████▊     | 44/50 [00:18<00:02,  2.39it/s]\u001b[A\n",
      " 90%|██████████████████████████████████████▋    | 45/50 [00:18<00:02,  2.39it/s]\u001b[A\n",
      " 92%|███████████████████████████████████████▌   | 46/50 [00:19<00:01,  2.39it/s]\u001b[A\n",
      " 94%|████████████████████████████████████████▍  | 47/50 [00:19<00:01,  2.39it/s]\u001b[A\n",
      " 96%|█████████████████████████████████████████▎ | 48/50 [00:20<00:00,  2.39it/s]\u001b[A\n",
      " 98%|██████████████████████████████████████████▏| 49/50 [00:20<00:00,  2.40it/s]\u001b[A\n",
      "100%|███████████████████████████████████████████| 50/50 [00:21<00:00,  2.37it/s]\u001b[A\n",
      "\n",
      "Total progress: 100%|███████████████████████████| 50/50 [00:20<00:00,  2.41it/s]\u001b[A\n",
      "Reusing loaded model v2-1_768-ema-pruned.ckpt [ad2a33c361] to load Anything-V3.0-pruned.ckpt [543bcbc212]\n",
      "Loading weights [543bcbc212] from /mnt/workspace/stable-diffusion-webui/models/Stable-diffusion/Anything-V3.0-pruned.ckpt\n",
      "Creating model from config: /mnt/workspace/stable-diffusion-webui/configs/v1-inference.yaml\n",
      "Loading VAE weights found near the checkpoint: /mnt/workspace/stable-diffusion-webui/models/Stable-diffusion/Anything-V3.0-pruned.vae.pt\n",
      "Applying attention optimization: xformers... done.\n",
      "Model loaded in 1.6s (create model: 0.3s, apply weights to model: 0.4s, load VAE: 0.8s).\n",
      "Reusing loaded model Anything-V3.0-pruned.ckpt [543bcbc212] to load v2-1_768-ema-pruned.ckpt [ad2a33c361]\n",
      "Loading weights [ad2a33c361] from /mnt/workspace/stable-diffusion-webui/models/Stable-diffusion/v2-1_768-ema-pruned.ckpt\n",
      "Creating model from config: /mnt/workspace/stable-diffusion-webui/repositories/stable-diffusion-stability-ai/configs/stable-diffusion/v2-inference-v.yaml\n",
      "Applying attention optimization: xformers... done.\n",
      "Model loaded in 2.1s (find config: 0.9s, apply weights to model: 0.8s, apply half(): 0.3s, load textual inversion embeddings: 0.1s).\n",
      "  0%|                                                    | 0/50 [00:00<?, ?it/s]\n",
      "  2%|▉                                           | 1/50 [00:00<00:27,  1.80it/s]\u001b[A\n",
      "  4%|█▊                                          | 2/50 [00:00<00:23,  2.08it/s]\u001b[A\n",
      "  6%|██▋                                         | 3/50 [00:01<00:21,  2.19it/s]\u001b[A\n",
      "  8%|███▌                                        | 4/50 [00:01<00:20,  2.24it/s]\u001b[A\n",
      " 10%|████▍                                       | 5/50 [00:02<00:19,  2.27it/s]\u001b[A\n",
      " 12%|█████▎                                      | 6/50 [00:02<00:19,  2.30it/s]\u001b[A\n",
      " 14%|██████▏                                     | 7/50 [00:03<00:18,  2.31it/s]\u001b[A\n",
      " 16%|███████                                     | 8/50 [00:03<00:18,  2.33it/s]\u001b[A\n",
      " 18%|███████▉                                    | 9/50 [00:03<00:17,  2.31it/s]\u001b[A\n",
      " 20%|████████▌                                  | 10/50 [00:04<00:17,  2.33it/s]\u001b[A\n",
      " 22%|█████████▍                                 | 11/50 [00:04<00:16,  2.33it/s]\u001b[A\n",
      " 24%|██████████▎                                | 12/50 [00:05<00:16,  2.34it/s]\u001b[A\n",
      " 26%|███████████▏                               | 13/50 [00:05<00:15,  2.34it/s]\u001b[A\n",
      " 28%|████████████                               | 14/50 [00:06<00:15,  2.34it/s]\u001b[A\n",
      " 30%|████████████▉                              | 15/50 [00:06<00:14,  2.36it/s]\u001b[A\n",
      " 32%|█████████████▊                             | 16/50 [00:06<00:14,  2.35it/s]\u001b[A\n",
      " 34%|██████████████▌                            | 17/50 [00:07<00:14,  2.34it/s]\u001b[A\n",
      " 36%|███████████████▍                           | 18/50 [00:07<00:13,  2.36it/s]\u001b[A\n",
      " 38%|████████████████▎                          | 19/50 [00:08<00:13,  2.36it/s]\u001b[A\n",
      " 40%|█████████████████▏                         | 20/50 [00:08<00:12,  2.37it/s]\u001b[A\n",
      " 42%|██████████████████                         | 21/50 [00:09<00:12,  2.37it/s]\u001b[A\n",
      " 44%|██████████████████▉                        | 22/50 [00:09<00:11,  2.36it/s]\u001b[A\n",
      " 46%|███████████████████▊                       | 23/50 [00:09<00:11,  2.37it/s]\u001b[A\n",
      " 48%|████████████████████▋                      | 24/50 [00:10<00:10,  2.38it/s]\u001b[A\n",
      " 50%|█████████████████████▌                     | 25/50 [00:10<00:10,  2.37it/s]\u001b[A\n",
      " 52%|██████████████████████▎                    | 26/50 [00:11<00:10,  2.38it/s]\u001b[A\n",
      " 54%|███████████████████████▏                   | 27/50 [00:11<00:09,  2.39it/s]\u001b[A\n",
      " 56%|████████████████████████                   | 28/50 [00:12<00:09,  2.38it/s]\u001b[A\n",
      " 58%|████████████████████████▉                  | 29/50 [00:12<00:08,  2.38it/s]\u001b[A\n",
      " 60%|█████████████████████████▊                 | 30/50 [00:12<00:08,  2.38it/s]\u001b[A\n",
      " 62%|██████████████████████████▋                | 31/50 [00:13<00:08,  2.37it/s]\u001b[A\n",
      " 64%|███████████████████████████▌               | 32/50 [00:13<00:07,  2.36it/s]\u001b[A\n",
      " 66%|████████████████████████████▍              | 33/50 [00:14<00:07,  2.35it/s]\u001b[A\n",
      " 68%|█████████████████████████████▏             | 34/50 [00:14<00:06,  2.36it/s]\u001b[A\n",
      " 70%|██████████████████████████████             | 35/50 [00:14<00:06,  2.36it/s]\u001b[A\n",
      " 72%|██████████████████████████████▉            | 36/50 [00:15<00:05,  2.36it/s]\u001b[A\n",
      " 74%|███████████████████████████████▊           | 37/50 [00:15<00:05,  2.36it/s]\u001b[A\n",
      " 76%|████████████████████████████████▋          | 38/50 [00:16<00:05,  2.37it/s]\u001b[A\n",
      " 78%|█████████████████████████████████▌         | 39/50 [00:16<00:04,  2.36it/s]\u001b[A\n",
      " 80%|██████████████████████████████████▍        | 40/50 [00:17<00:04,  2.35it/s]\u001b[A\n",
      " 82%|███████████████████████████████████▎       | 41/50 [00:17<00:03,  2.36it/s]\u001b[A\n",
      " 84%|████████████████████████████████████       | 42/50 [00:17<00:03,  2.35it/s]\u001b[A\n",
      " 86%|████████████████████████████████████▉      | 43/50 [00:18<00:02,  2.36it/s]\u001b[A\n",
      " 88%|█████████████████████████████████████▊     | 44/50 [00:18<00:02,  2.36it/s]\u001b[A\n",
      " 90%|██████████████████████████████████████▋    | 45/50 [00:19<00:02,  2.37it/s]\u001b[A\n",
      " 92%|███████████████████████████████████████▌   | 46/50 [00:19<00:01,  2.37it/s]\u001b[A\n",
      " 94%|████████████████████████████████████████▍  | 47/50 [00:20<00:01,  2.37it/s]\u001b[A\n",
      " 96%|█████████████████████████████████████████▎ | 48/50 [00:20<00:00,  2.37it/s]\u001b[A\n",
      " 98%|██████████████████████████████████████████▏| 49/50 [00:20<00:00,  2.37it/s]\u001b[A\n",
      "100%|███████████████████████████████████████████| 50/50 [00:21<00:00,  2.35it/s]\u001b[A\n",
      "\n",
      "Total progress: 100%|███████████████████████████| 50/50 [00:21<00:00,  2.38it/s]\u001b[A\n",
      "  0%|                                                    | 0/50 [00:00<?, ?it/s]\n",
      "  2%|▉                                           | 1/50 [00:00<00:20,  2.36it/s]\u001b[A\n",
      "  4%|█▊                                          | 2/50 [00:00<00:20,  2.37it/s]\u001b[A\n",
      "  6%|██▋                                         | 3/50 [00:01<00:20,  2.34it/s]\u001b[A\n",
      "  8%|███▌                                        | 4/50 [00:01<00:19,  2.35it/s]\u001b[A\n",
      " 10%|████▍                                       | 5/50 [00:02<00:19,  2.35it/s]\u001b[A\n",
      " 12%|█████▎                                      | 6/50 [00:02<00:18,  2.35it/s]\u001b[A\n",
      " 14%|██████▏                                     | 7/50 [00:02<00:18,  2.34it/s]\u001b[A\n",
      " 16%|███████                                     | 8/50 [00:03<00:17,  2.36it/s]\u001b[A\n",
      " 18%|███████▉                                    | 9/50 [00:03<00:17,  2.31it/s]\u001b[A\n",
      " 20%|████████▌                                  | 10/50 [00:04<00:17,  2.32it/s]\u001b[A\n",
      " 22%|█████████▍                                 | 11/50 [00:04<00:16,  2.31it/s]\u001b[A\n",
      " 24%|██████████▎                                | 12/50 [00:05<00:16,  2.32it/s]\u001b[A\n",
      " 26%|███████████▏                               | 13/50 [00:05<00:15,  2.33it/s]\u001b[A\n",
      " 28%|████████████                               | 14/50 [00:05<00:15,  2.33it/s]\u001b[A\n",
      " 30%|████████████▉                              | 15/50 [00:06<00:15,  2.33it/s]\u001b[A\n",
      " 32%|█████████████▊                             | 16/50 [00:06<00:14,  2.33it/s]\u001b[A\n",
      " 34%|██████████████▌                            | 17/50 [00:07<00:14,  2.33it/s]\u001b[A\n",
      " 36%|███████████████▍                           | 18/50 [00:07<00:13,  2.33it/s]\u001b[A\n",
      " 38%|████████████████▎                          | 19/50 [00:08<00:13,  2.34it/s]\u001b[A\n",
      " 40%|█████████████████▏                         | 20/50 [00:08<00:12,  2.35it/s]\u001b[A\n",
      " 42%|██████████████████                         | 21/50 [00:08<00:12,  2.35it/s]\u001b[A\n",
      " 44%|██████████████████▉                        | 22/50 [00:09<00:11,  2.35it/s]\u001b[A\n",
      " 46%|███████████████████▊                       | 23/50 [00:09<00:11,  2.34it/s]\u001b[A\n",
      " 48%|████████████████████▋                      | 24/50 [00:10<00:11,  2.34it/s]\u001b[A\n",
      " 50%|█████████████████████▌                     | 25/50 [00:10<00:10,  2.36it/s]\u001b[A\n",
      " 52%|██████████████████████▎                    | 26/50 [00:11<00:10,  2.37it/s]\u001b[A\n",
      " 54%|███████████████████████▏                   | 27/50 [00:11<00:09,  2.38it/s]\u001b[A\n",
      " 56%|████████████████████████                   | 28/50 [00:11<00:09,  2.40it/s]\u001b[A\n",
      " 58%|████████████████████████▉                  | 29/50 [00:12<00:08,  2.40it/s]\u001b[A\n",
      " 60%|█████████████████████████▊                 | 30/50 [00:12<00:08,  2.41it/s]\u001b[A\n",
      " 62%|██████████████████████████▋                | 31/50 [00:13<00:07,  2.40it/s]\u001b[A\n",
      " 64%|███████████████████████████▌               | 32/50 [00:13<00:07,  2.38it/s]\u001b[A\n",
      " 66%|████████████████████████████▍              | 33/50 [00:14<00:07,  2.39it/s]\u001b[A\n",
      " 68%|█████████████████████████████▏             | 34/50 [00:14<00:06,  2.39it/s]\u001b[A\n",
      " 70%|██████████████████████████████             | 35/50 [00:14<00:06,  2.40it/s]\u001b[A\n",
      " 72%|██████████████████████████████▉            | 36/50 [00:15<00:05,  2.40it/s]\u001b[A\n",
      " 74%|███████████████████████████████▊           | 37/50 [00:15<00:05,  2.39it/s]\u001b[A\n",
      " 76%|████████████████████████████████▋          | 38/50 [00:16<00:05,  2.39it/s]\u001b[A\n",
      " 78%|█████████████████████████████████▌         | 39/50 [00:16<00:04,  2.40it/s]\u001b[A\n",
      " 80%|██████████████████████████████████▍        | 40/50 [00:16<00:04,  2.40it/s]\u001b[A\n",
      " 82%|███████████████████████████████████▎       | 41/50 [00:17<00:03,  2.40it/s]\u001b[A\n",
      " 84%|████████████████████████████████████       | 42/50 [00:17<00:03,  2.39it/s]\u001b[A\n",
      " 86%|████████████████████████████████████▉      | 43/50 [00:18<00:02,  2.39it/s]\u001b[A\n",
      " 88%|█████████████████████████████████████▊     | 44/50 [00:18<00:02,  2.39it/s]\u001b[A\n",
      " 90%|██████████████████████████████████████▋    | 45/50 [00:19<00:02,  2.37it/s]\u001b[A\n",
      " 92%|███████████████████████████████████████▌   | 46/50 [00:19<00:01,  2.37it/s]\u001b[A\n",
      " 94%|████████████████████████████████████████▍  | 47/50 [00:19<00:01,  2.36it/s]\u001b[A\n",
      " 96%|█████████████████████████████████████████▎ | 48/50 [00:20<00:00,  2.36it/s]\u001b[A\n",
      " 98%|██████████████████████████████████████████▏| 49/50 [00:20<00:00,  2.34it/s]\u001b[A\n",
      "100%|███████████████████████████████████████████| 50/50 [00:21<00:00,  2.36it/s]\u001b[A\n",
      "\n",
      "Total progress: 100%|███████████████████████████| 50/50 [00:21<00:00,  2.38it/s]\u001b[A\n",
      "^C\n",
      "Interrupted with signal 2 in <frame at 0x7f8e7b6ebf10, file '/opt/conda/lib/python3.10/threading.py', line 324, code wait>\n"
     ]
    }
   ],
   "source": [
    "%cd stable-diffusion-webui\n",
    "!python launch.py --listen --xformers --enable-insecure-extension-access --theme dark --gradio-queue --lowvram"
   ]
  }
 ],
 "metadata": {
  "kernelspec": {
   "display_name": "Python 3 (ipykernel)",
   "language": "python",
   "name": "python3"
  },
  "language_info": {
   "codemirror_mode": {
    "name": "ipython",
    "version": 3
   },
   "file_extension": ".py",
   "mimetype": "text/x-python",
   "name": "python",
   "nbconvert_exporter": "python",
   "pygments_lexer": "ipython3",
   "version": "3.10.13"
  }
 },
 "nbformat": 4,
 "nbformat_minor": 5
}
